package com.article.service;

import com.article.entity.ApiResult;
import com.article.entity.model.ArticleCategory;

public interface ArticleCategoryService {
    /**
     * 添加文章分类
     * @param param
     * @return
     */
    ApiResult addArticleCategory(ArticleCategory param);

    /**
     * 删除文章分类,通过主键
     * @param param
     * @return
     */
    ApiResult deleteArticleCategoryById(ArticleCategory param);

    /**
     * 删除文章递归,通过主键
     * @param param
     * @return
     */
    ApiResult deleteArticleCategoryRecursiveById(ArticleCategory param);

    /**
     * 更新文章分类,通过主键
     * @param param
     * @return
     */
    ApiResult updateArticleCategoryById(ArticleCategory param);

    /**
     * 查询文章分类,递归,无限极分类,多条件
     * @param param
     * @return
     */
    ApiResult selectArticleCategoryRecursiveList(ArticleCategory param);
}
